package org.dromara.exam.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 单词本关联单词对象 exam_book_word_relation
 *
 * @author Lion Li
 * @date 2025-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_book_word_relation")
public class ExamBookWordRelation extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "relation_id")
    private Long relationId;

    /**
     * 单词本ID
     */
    private Long bookId;

    /**
     * 单词ID
     */
    private Long wordId;

    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;


}
